package com.homeproject.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Image;

public class Utils {
	/**
	 * Images.
	 */
	public static String LOGO_IMAGE_NAME = "logo.png";

	/**
	 * Gets an image from the resource folder.
	 * 
	 * @param src
	 *          the image name.
	 * @return
	 */
	public static Image getImage(String src) {
		return new Image(GWT.getModuleBaseURL() + src);
	}
}
